Migrate to JSON i18n

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

Change-Id: I05d59cefe57e4c5ba79d9e75b4a679a64b3fb0ca