Migrate to JSON i18n

Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Ieab4aecd8c69fd869e0c2c95a519815ff7533a3b