Migrate to JSON i18n

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

Change-Id: I5c4ddaa1f8f47d8d8db5979149aff3c300f3e3ac