protected function getFormzConfiguration()
    {
        $rootConfigurationArray = $this->getFormObject()
            ->getConfiguration()
            ->getRootConfiguration()
            ->toArray();

        $cleanFormzConfigurationArray = [
            'view' => $rootConfigurationArray['view']
        ];

        return ArrayService::get()->arrayToJavaScriptJson($cleanFormzConfigurationArray);
    }