public function validateRequest($content, DocumentModel $model)
    {
        $errors = $this->validateContent($content, $model);
        if (!empty($errors)) {
            throw new ValidationException($errors);
        }
        return $this->deserialize($content, $model->getEntityClass());
    }