Added equals and hashcode implementations for 'NodeInfo' to prevent duplicate objects in collections