Migrate to JSON i18n

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

Change-Id: I65b4ab43f7412e17f71bbb0c25b3ad1b5e7cbe89