apply i18n transforms to a json object