public static function format($phantomJsResponse)
    {
        $response = new Response(
            $phantomJsResponse->getStatus(),
            $phantomJsResponse->getHeaders(),
            $phantomJsResponse->getContent()
        );
        return $response;
    }