def ora_row_to_dict(col_names, row):
    """
    This takes a row from a resultset and returns a dict with the same structure
    :param row:
    :return: dict
    """
    return dict(zip([col.lower() for col in col_names], row))