clean up

exposed a contentAsString and a consume method on the RestClient