fix json response object
Merge pull request #12 from paultgibbons/master

fix json response object