Factor out Hashable instance for Value
Merge