Override to not serialize doc responses.

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