Added proper command line parsing
Removed jsoncheck. Use 'shellcheck -f json -' instead