Migrate to JSON i18n

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

Change-Id: I97a9b5e9ffaae47e3a891020dc6ac176c5aa4ce3