Migrate to JSON i18n

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

Change-Id: I333dd9d5ecec5282a9ecdd166e4a76d3f7e8477f