chaning the stripped dom from byte array to string