@ -48,7 +48,7 @@ class DatasetItemEncoder:
ET.SubElement(ann_elem, 'type').text = str(annotation.type.name)
for k, v in annotation.attributes.items():
ET.SubElement(ann_elem, k).text = str(v)
ET.SubElement(ann_elem, k.replace(' ', '-')).text = str(v)
ET.SubElement(ann_elem, 'group').text = str(annotation.group)