Migrate to JSON i18n

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

Change-Id: I5e7be43c60c8decbb6fd8b5a6c21c7480b2d3f6a