add application/json as a valid accept header for queries
Merge pull request #4 from shmumer/master

add application/json as a valid accept header for queries