public function renameTranslationPackage(array &$preset)
    {
        foreach ($preset as $key => $value) {
            if (is_array($value)) {
                if (isset($value['renderingOptions']['translationPackage'])) {
                    $value['renderingOptions']['validationErrorTranslationPackage'] = $value['renderingOptions']['translationPackage'];
                    unset($value['renderingOptions']['translationPackage']);
                }
                $preset[$key] = $this->renameTranslationPackage($value);
            }
        }

        return $preset;
    }