Correct hash implementation for open_object