Migrate to JSON i18n

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

Change-Id: I3bad74c8d0df4a01124fb92fca4ab3f84ea30f8e