adding utility class for node and parsing node from json