adding experimental dump functionality

With the function dump(), you can make dump of nodes. Currently, there is no node specific dump for person noderefs etc.