Migrate to JSON i18n

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

Change-Id: I2a2cc188a247b844ce5169dd00f8dbe41adf1270