def get_all_headers(rows_list):
    """Utility to get all the keys for a list of dicts"""
    headers = []
    for row_dict in rows_list:
        [headers.append(h) for h in list(row_dict.keys()) if h not in headers]
    return headers