Adds asString method for memberNode.

TODO: every node should have an asString.