Migrate to JSON i18n

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

Change-Id: I062ebbc8b6b81ec3811a3dea44edf5bd865895f9