code: def _get_result(self, resource):
          
          if self._convert_response:
              self._update_response_body(resource)
              result = self.request.response
          else:
              result = dict(context=resource)
          return result
docs: Converts the given resource to a result to be returned from the view.
          Unless a custom renderer is employed, this will involve creating
          a representer and using it to convert the resource to a string.
  
          :param resource: Resource to convert.
          :type resource: Object implementing
            :class:`evererst.interfaces.IResource`.
          :returns: :class:`pyramid.reposnse.Response` object or a dictionary
            with a single key "context" mapped to the given resource (to be
            passed on to a custom renderer).