Returns application/json if no accept header provided: Fixes #12

This pull request includes the commits from #16 .  This pull request fixes issue #12 by providing application/json data if no HTTP Accept header is provided by the client.