Fix sort_field_list context variable (make it dict instead of list of dicts)