protected function getRequestModel($requestData)
    {
        $requestModel = new RequestModel();
        $requestModel->attributes = $requestData;

        if (!$requestModel->validate()) {
            throw new ValidationException('Invalid JSON-RPC request parameters.', 0, $requestModel->getErrors());
        }

        return $requestModel;
    }