A blah: is an atom, it is equal to :blah => as just a shortcut helper. If you want a non-atom, like a binding as a key, then use the full => form, thus:
This is because the syntax you are using hides that the key is actually an atom!
%{key: value}
becomes:
%{:key => value}
So the “=>” is universal and associates the left to the right, while “key:” style is shorthand for “key is a literal atom I want to associate with this value”