public function transformObjectResponse(ActionViewEvent $event)
    {
        $data = $event->getData();

        if ($data instanceof ObjectResponse) {
            $response = $this->doTransformObjectResponse($data);
            $event->setResponse($response);
        }
    }