Comment
Comment by abuckenheimer
I feel the same way, although my instinct is generally to build a custom generator. Only costs a couple lines but is plain old python and quite explicit
would have to combine with `defaultdict`s if your nested data is only sometimes there though