Migrate to JSON i18n

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

Change-Id: Ic68ec5d24708d4cafba7f07a47fcb0b3dd561c66