Update interface to edgeinfo and Added ToOstream for debugging

@dnesbitt61 @kevinkreiser @gknisely