Fixed localization encoding in JSON format