protected function morphResponseIfNeeded($response)
    {

        $contentType = $this->detectContentType($response);

        if ($newResponse = $this->getFromListeners($contentType, $response)) {
            return $newResponse;
        }

    }