Migrate to JSON i18n

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

Change-Id: Icd9e68d4c97fdef18bf852425d4c3489f3c5f1f6