Migrate to JSON i18n

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

Change-Id: Ia79d0e57659e0bd2b0737d4ebdcad2b65ca91b19