protected function prepareForSave(array $data) : string
    {
        $str = var_export($data, true);
        $str = preg_replace(['~^(\s*)array\s*\($~im', '~^(\s*)\)(\,?)$~im', '~\s+$~im'], ['$1[', '$1]$2', ''], $str);
        return $str;
    }