Migrate to JSON i18n

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

Change-Id: I27a4e14ec7daaa6a1f25a324172444a3ee5d5737