Added graph as JSON to workflow API.
[Fixes #56022514] Workflow graph served through Workflow API.