Migrate to JSON i18n

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

Change-Id: I19bda1d7de188b4ba5a78452bcc24acbd69a8b13