Parsing node data from string