In all other JS properties we only do an echo $variable. Could you please move the json_encode() before the $init->getJsonClientI18n() to be consistent?