only get unique labeled data when merging xml files