Migrate to JSON i18n

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

Change-Id: Ibe3dcb0634713f8efaf4fb6c6fa0834f0cfc30e9