Add method for converting HTTP response to string.