Migrate to JSON i18n

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

Change-Id: I5f7b19f7233c9ed25ab9d40d699719c09fea7ff6