I took the liberty of using a symbol for your hash key instead of a string.
Read up on symbols - in simplest terms, they are like strings without all
the string functionality, which we usually don't need anyway for hash keys.
That's exactly what I was after. I knew it was possible, but I was
missing "collect"
As for symbols, at one point I used them a lot, but then I ran into
some places that seemed to really want strings. Out of confusion, I
stopped using symbols in a lot of cases. I will re-evaluate where I'm
using strings though.