Migrate to JSON i18n

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

Change-Id: I16685fbcb83634bc19ea5789208b2b0b9fcdce1d