Migrate to JSON i18n

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

Change-Id: Ie0e7f9f1a8732e6c59775aae4fc8f4954c32ebc1