Migrate to JSON i18n

Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Original discussion at https://gerrit.wikimedia.org/r/#/c/121356/