Migrate to JSON i18n

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

Change-Id: I1fbecdedef53acf8328d1437cc25c05c9ff7a8e4