Return pure JSON dict if Accept is application/json