Migrate to JSON i18n

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

Change-Id: I25b0555f5e7ca188491aa0cf3eb49ea7ec4812ce