Migrate to JSON i18n

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

Change-Id: I53eda7a9eeb7846a5fe883fa77d173d1faecf79a