Migrate to JSON i18n

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

Change-Id: I23a18c9bafd5540bdf7c64316404f1bd3e666a46