add json output
Merge pull request #21 from d2fn/json

add json output