Change output type to json
Merge pull request #270 from anserran/json-outputtype

Change output type to json