Fix missing namespace on 2 calls to nodes
Fix to print-method to make objects with quotes in their toString representation print properly escaped.