Migrate to JSON i18n

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

Change-Id: Ia6a65c1f9e0de07e08d1575002cb75ad2dfd0306