Migrate to JSON i18n

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

Change-Id: Ie496bd8b0ac5d4ea495de0eb1c120f9641e2dcfe