fix bug:query entity json format
fix bug:wrong entity response
Merge pull request #26 from forumbyr/master

fix bug:wrong entity response