Migrate to JSON i18n

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

Change-Id: I34db02b5e00a4f8debc092d3927f07f16bf45e6c