flatten event map when pulling out of dynamo