Migrate to JSON i18n

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

Change-Id: I48500b2af24f493dd2c2dc19d2fc212d64ad9c0c