Migrate to JSON i18n

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

Change-Id: If16e6aff3b7b38c6047236a7d67ae4be6de5fcec