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).

def _get_result(self, resource):
        """
        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).
        """
        if self._convert_response:
            self._update_response_body(resource)
            result = self.request.response
        else:
            result = dict(context=resource)
        return result