Migrate to JSON i18n

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

Change-Id: I457c0461f01bc35daff8fdcfefd3ad647db6bb66