Migrate to JSON i18n

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

Change-Id: I980fae51a9f0a45cc26df74213b26a649e3b7ad6