Modified get_row to return a dictionary with field names as keys.