Migrate to JSON i18n

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

Change-Id: Iccc625ae8cd53304ae6ed2364335ee8320dbe1a6