Migrate to JSON i18n

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

Change-Id: I6ccd6d24a2d4f88a447fef0b8f380907ee3150aa