Migrate to JSON i18n

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

Change-Id: Id5c9947fc6ce36d394bcb3b8cb748665ce6cdae5