Migrate to JSON i18n

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

Change-Id: I8af35ae8ec067e4d8ef8b7343a87b900eb01ef2a