Migrate to JSON i18n

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

Change-Id: I53d6d8a00fdd5483b03f1f0bf6b49b08cca97004