Pass Accept header to handle FOSRest regression