Migrate to JSON i18n

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

Change-Id: I86e3bb9ed0979af8c663fe33aa9a9cce5f4dc63e