Migrate to JSON i18n

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

Change-Id: Ia2edd0a60dd0e1932cc731fab9f4c5a7180f96c5