Removed an unnecessary str.encode('utf-8') in get_field_values()