Migrate to JSON i18n

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

Change-Id: I77bd3a4f852f0e1115c70163daca2e71bf6d33ed