in reply to map and grep (but for hashes)

I'm surprised that jdporter did not mention his code to do this.