Migrate to JSON i18n

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

Change-Id: Iefe19f081c125cf7eb8100ff0e946e3a64cd29e8