minor bugs
REST content negotiation