Migrate to JSON i18n

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

Change-Id: I4cc238612f7ec5ddb16a2dffe19047cdc1659b50