Migrate to JSON i18n

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

Change-Id: I3b25fc32f06e4fbf03c5fe98d4426d1948b4f25a