cleaning categories on BBG xml file to use them as tags