Clone hash node value due to rubys shallow copy of hashes.