Fix reading from Guzzle responses

getContents() on a Guzzle response works as expected as long as nobody
reads the stream before. In fact this happens when using a log suscriber,
which reads the stream contents and leaves it pointing to the end.

Casting to string makes Guzzle to rewind the stream.