Released version 2.2

Minor polishing of json output and exit codes