code: def _serialize_object(self, response_data, request):
          
          if self._is_doc_request(request):
              return response_data
          else:
              return super(DocumentedResource, self)._serialize_object(
                  response_data, request)
docs: Override to not serialize doc responses.