Migrate to JSON i18n

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

Change-Id: Ibe3e2f82c92abedc5856e8e6185bf80c0d5f1dcb