Migrate to JSON i18n

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

Change-Id: I506e49a65ef5d698f01b0d89d76a0afdd823f1c4