You don’t need to pre-build the dictionary items. If a key does not exists in the dictionary, Set Dictionary Value will create it for you.
Set Dictionary Value