Migrate to JSON i18n

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

Change-Id: Icdd9851598bccb3b174d5059ccc1a84c74bc8f72