export to a stream

can write a dict of simple regions now.
Merge branch 'master' of https://github.com/eressea/server