join object values on space if value is an array