Maybe the example should just pass the payload and, say, use the payload type to choose the map (and include a `headers.foo` expression.