[COOK-3963] don't use dangerous methods in `jenkins_node_defaults`

the `args` passed to the `jenkins_node_defaults` method could have been set using a node attribute. Using dangerous methods (such as `upcase!`) will actually change the node attribute at whatever level (default, normal, override, etc) it came from. This is bad.