correct buffering in RamlRestTemplate