Add JSON API to acceptable content types

closes #182
Merge pull request #184 from edpaget/allow-json-api-content

Add JSON API to acceptable content types