Migrate to JSON i18n

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

Change-Id: If7f4aa73fa665cfc2ace8af7193bff62e4ad909b