Migrate to JSON i18n

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

Change-Id: I3264e8ec491ba0a6d405a68a8b1792573c8bb3bd