Migrate to JSON i18n

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

Change-Id: I302a32447cb1d655ac3a5fe1c5afaca66a45540e