Migrate to JSON i18n

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

Change-Id: I501f15b389b8991d59b5e685e6ae1f5c3c919e90