Migrate to JSON i18n

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

Change-Id: I688e30961eefb5eb6f0c3420e99ba92a17e9fa72