Migrate to JSON i18n

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

Change-Id: Ib5f33ecd3018b22f92c852bf2f4c35331bdb5d84