allow setting produces & consumes in the client side, both default to "application/json"