Fix ResolvedReadContext to return consistent hashcodes based on its
value