Suppose I am accumulating key-value pairs of a previously unknown type in a `Dict{Any,Any}`

within a function. But before I return the result, I would like to narrow the type parameters as much as possible.

Is there some compact syntax for that? I came up with

```
Dict(Base.Generator(identity, dict))
```

but it looks like a kludge.