marshal dup_ids as ObjectIds