Migrate some JSON support to play-nsi-support.