Content negotiation over REST API