Migrate to JSON i18n

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

Change-Id: I7da4a2e542e784b8496c7fd3e012e3803bf6c7ca