A small workaround for the DNS resolution handling to work for gevent 1.0a1+.
Added JSON output option.
Merge pull request #25 from Tinche/json-output

Json output