cast response to string