Migrate to JSON i18n

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

Change-Id: Ibbd7b33a5d4dc4e16b3cf17ebaa75d768b442f9a