Fixed parameter check
Add output parameter for json
Merge branch 'master' of https://github.com/samuelleung/argus