Migrate to JSON i18n

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

Change-Id: Ib9e013a58c2849b8c421e2b1e9e3c3faf5d32ad2