Migrate to JSON i18n

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

Change-Id: I3d4e61dd7ba9e14cde18d8dcca773de01e0122ac