Do not duplicate regions during serialization
Do not duplicate regions during serialization

Relates to #269.
Only regions with lines are added.
More work is needed to support non-text regions.

mittagessen/kraken,mittagessen/kraken,mittagessen/kraken,mittagessen/kraken