Migrate to JSON i18n

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

Change-Id: I1c9e7ef32f849adbba7b3ffc85a0c47cf9f9f18b