Migrate to JSON i18n

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

Change-Id: Ic4bc83f6df1cebbb28694dfc3b1b958ad4dd7b3b