Migrate to JSON i18n

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

Change-Id: I9bd0b1fc6385bd163ebecc6fda930b99cd58e76a