added Search#to_hash.