def answer_type(request, json_list, nested):
    for question in json_list:
        if question['payload']['object_type'] == 'task_instance':
            question['answer_class'] = 'task_answer'

efb2ba087e9c69166e3ee5c53d166babfa4e875b
<mask token>

def answer_type(request, json_list, nested):
    for question in json_list:
        if question['payload']['object_type'] == 'task_instance':
            question['answer_class'] = 'task_answer'
