get string representation of response