code: def render_to_response(self, context, **response_kwargs):
          
          return HttpResponse(json.dumps(context, cls=JSON_ENCODER), 
                              content_type='application/json',
                              **response_kwargs)
docs: Returns a response, using the `response_class` for this
          view, with a template rendered with the given context.
  
          If any keyword arguments are provided, they will be
          passed to the constructor of the response class.