wont a simple gsub on params makes more sense? e.g.
```ruby
rdecktags += self.params["rundeckfacts"].gsub('\s+','').split(',').map{ |rdf| "#{rdf}=" + (facts_hash[rdf] || "undefined")}
```