Migrate to JSON i18n

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

Change-Id: Ia4fdfcbb0bb712a6daaa260734e9127fd2c295f7