Migrate to JSON i18n

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

Change-Id: Ia62e0e3eea4bfa4d47e1fdd96133eb2f7e08be90