Migrate to JSON i18n

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

Change-Id: I62d7fd109f3f6fcbe4cae4aa2cb28d960f13cfd6