Migrate to JSON i18n

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

Change-Id: Id6501fd8ef5b8c8fd84b5cb825834c5b4fbabbdd