outputs JSON format now
Merge pull request #1 from rpetit3/master

outputs JSON format now