fix HashWithIndifferentAccess#to_hash behaviour