public function setFrontendData($key, $value = null): void
    {
        if (is_array($key)) {
            foreach ($key as $k => $v) {
                $this->setFrontendData($k, $v);
            }
            return;
        }
        $this->_frontendData['jsonData'][$key] = $value;
    }