code: def render_to_response(self, context, **response_kwargs):
          
          response_kwargs['content_type'] = 'application/json'
          return self.response_class(
              self.convert_context_to_json(context),
              **response_kwargs
          )
docs: Returns a JSON response, transforming 'context' to make the payload.