just search a general "hashes" value for both types