Just to think out loud a bit. Another way we could stitch this together might look like:
```
DbFun = chef_db:fun_for_list(DbContext),
ItemNames = chef_objects:list(#chef_data_bag_item{...}, DbFun)
```

Main advantage being that chef_db is then less directly coupled to chef_objects and we tie things together here.