handle newline conversion and assume a structure not a string.