XD-2344 UI should quote parameters containing a space

* Added a check that wraps the parameter value into quotes ONLY IF the string contains a whitespace (incl. tab charater)
Would be better if we have single quotes. But since there is no enclosing double quotes on the definition itself, this will still work.