Fixed bug with console log passing unescaped field