return json response properly
Merge pull request #1 from prydonius/master

return json response properly