rewrote node2str with fold and updated ntriplets publishing settings