Fix the json output bug
Merge pull request #211 from tallshort/json-output-bug

Fix the json output bug