Migrate to JSON i18n

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

Change-Id: I0ba46cabc5441238f2ce2d5a88610e8ca1f2fce0