allow names to override other values

Allow the names: definition to override the other values in that state
if it is a dictionary instead of just a string.
make ordered dict hashable
Merge pull request #13489 from gtmanfred/names

[RFC] Allow names to override chunk variables.