Migrate to JSON i18n

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

Change-Id: I37edc3f5060ed4a4b370660dd4ef796e1209ad6f