Migrate to JSON i18n

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

Change-Id: I450c86fdcc2ded02876f7ae823bdada8bd1214fa