'Return data for the \'results\' key of the response.'

def get_results(self, context):

    return [{'id': self.get_result_value(result), 'text': self.get_result_label(result)} for result in context['object_list']]
