Change data of Node from int to Object