protected function buildValidationReturn(array $body)
    {
        if (isset($body['user'])) {
            $body['user'] = new User($body['user']);
        }

        $body['application'] = new Application($body['application']);
        $body['expire_at'] = new \DateTime($body['expire_at']);

        return $body;
    }