add support for JSON i18n

Change-Id: Ic23b1ce8d7eb2d75f1af1f1cbcec0aa65fcaf230