[PLAT-4850] switched class to use ValueSpecs rather than DependencyNodes. ValueSpecs are immutable and implement hashcode and equals so are more suitable for tracking which nodes should contain logging.