change brat format datastructure