Revert "Debug objects for resolving dependencies"

This reverts commit 4a397b6ff81bfb48bd75a886fde43017a1eb4974.

This was only supposed to exist in a feature branch, sorry!