escape double quote characters

removed unneeded (apply str) calls