Removing upstream_status from serialization info

The upstream status is never used on the visualizer side so does not have to be part of the serialization of a task. Removing this cleans up the code and should improve performance somewhat as the tree traversal is now only done when needed.