Migrate to JSON i18n

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

Change-Id: I70fc2cfae02044d267e6d3f980a67ffc3bd388b0