code: def render_to_response(self, obj, **response_kwargs):
          
          return HttpResponse(self.serialize(obj), content_type='application/json', **response_kwargs)
docs: Returns an ``HttpResponse`` object instance with Content-Type:
          application/json.
  
          The response body will be the return value of ``self.serialize(obj)``