public function process($value)
    {
        if($value instanceof \PHPixie\HTTP\Responses\Response) {
            return $value;
        }
        
        if($value instanceof \Psr\Http\Message\ResponseInterface) {
            return $value;
        }
        
        if($value instanceof \PHPixie\Template\Container) {
            $value = $value->render();
        }
        
        if(is_string($value)) {
            return $this->http->responses()->string($value);
        }
        
        if(is_object($value) || is_array($value)) {
            return $this->http->responses()->json($value);
        }
        
        $type = gettype($value);
        throw new \PHPixie\HTTPProcessors\Exception("Cannot convert type '$type' into a response");
    }