move header deduplicator to csv utils