Migrate to JSON i18n

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

Change-Id: I3e9dcfa9e6306e26c1f89700f37f97dc36e9f98d