Migrate to JSON i18n

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

Change-Id: I8c316da93f980cf9a1c73808ce96b9da66d3ce48