Migrate to JSON i18n

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

Change-Id: Iaa6c3417e53d2ccc493b668e22f2e841de74fdd2