Migrate to JSON i18n

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

Change-Id: I7ff6d47210a51d6b7d376d53ca7e491e818bbfd1