Migrate to JSON i18n

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

Change-Id: Ibaedf2f6cca9a83582f0e3f9584a7018c8cde9d1