Migrate to JSON i18n

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

Change-Id: I2d2f1153be8d3ae08d247d7d4cc5edade816f5bc