Migrate to JSON i18n

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

Change-Id: I08de52c2756b477a27e8ba18c79ee87df78a5d3b