Migrate to JSON i18n

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

Change-Id: I84f2c9dd73d4e40b12eae241577da8d82b9d6f23