When we were printing quoted string, the double quotes where unescaped leading to prematurely ending the quoted string.