Improved Content DisplayNameScriptExecutor function
to take an array (optional) of values to resolve and by default concat using space and remove any unwanted spaces