Migrate to JSON i18n

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

Change-Id: I9ecf4ea278e7d4e0b95a5a9bbbf096519ab83ed8