def METHOD_NAME(cls, data, header_fields, sheet):
    data_map = defaultdict(list)
    for i in data:
        row = cls.create_row(i, header_fields)
        if sheet not in data_map:
            data_map[sheet].append(list(row.keys()))
        data_map[sheet].append(list(row.values()))
    return data_map