Migrate to JSON i18n

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

Change-Id: I7f3cda74a06fc4b3021e1a3e99ad29e87f2980b6