add __toString methods on request and response