Migrate to JSON i18n

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

Change-Id: I232fe49fd5ad1cf265f3dc1108bebbffcea4bd59