a couple more RESTful tweaks
java client