def render_to_json_response(self, context, **response_kwargs):
return HttpResponse(<EOL>self.convert_context_to_json(context),<EOL>content_type='<STR_LIT:application/json>',<EOL>**response_kwargs<EOL>)<EOL>
Returns a JSON response, transforming 'context' to make the payload.