Migrate to JSON i18n

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

Change-Id: If7d7706a13d663bfdaa7456c3296f37f4ddbfd68