walk the dependency graph to generate a stream of json output