Migrate to JSON i18n

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

Change-Id: I066434c2fba4cf3c9af5e39fe930c7ccf8243c07