Migrate to JSON i18n

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

Change-Id: I78a513c0b142f1fef0bb5be829bd2b12185f1dbf