Improve Dictionary access

I personally don't love the pattern of passing the same variable to a method both as an in argument and an out argument, but there's nothing wrong with this technically, and I realize you're largely just being consistent with the code that was already there.