And on a second look, it looks like this is a RESTEasy issue as well - a text/html response is always returned even though an accept header carrying application/json is submitted.