fix duplicates in CDE REST XML generation