Migrate to JSON i18n

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

Change-Id: I1fdd2ad5ed4f06f44a77a381ada3eea2309dcc0a