def rename_record_columns(records, columns_to_rename):
    """
    Renames columns for better desc and to match Socrata column names
    :param records: list - List of record dicts
    :param columns_to_rename: dict - Dict of Hasura columns and matching Socrata columns
    """
    for record in records:
        for column, rename_value in columns_to_rename.items():
            if column in record.keys():
                record[rename_value] = record.pop(column)
    return records