public function getMandatoryParam($path)
    {
        $this->validatePath($path);

        $value = $this->translatePathElement($path, $this->params);

        if(null === $value)
        {
            throw new JsonException("Json mandatory param '$path' not found found.");
        }
        return $value;
    }