If I understood correctly, if the original set of tags is: ['A B', 'C', 'D E F'], this function will combine them into: 'A B C D E F'. Is that what we want? it seems to throw away lots of useful information.