Allow customizable contentType in textToStreamable.