Dialogue merging
Optimized dialogue merging with a lookup map