make PackageKey have equal hashes for equal data