Migrate to JSON i18n

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

Change-Id: I73ac5a46b6f7e3d2026af688c9ccb66f5e159304