Migrate to JSON i18n

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

Change-Id: Ic00e4c9033558dcb5532d02fa6ee44b26c80dc2e