deal with json with translations.