Fix issue #1024 array in class attribute is joined with ',' instead of ' '