abstracting out WorkflowRun creation from JSON