Improvements to the task visualizer

Some changes to improve the visualizer performance

* Removed upstream_status from serialized data as it was never used
* Rewrite the code finding upstream status to do the graph work iteratively as we were hitting max recursion level
* Enabling gzip responses which will improve the visualizer since quite a lot of data is sent back