We need to convert RouteResult to JSON. When we try RouteResult.toJSON() we get a {} result. We are using JavaScript 4.11. toJSON() does work on the properties (directions, etc.) of RouteResult.
// Example of issue.routeTask.solve(routeParams).then(function (data) {const routeResult = data.routeResults[0];const routeResultJson = routeResult.toJSON();console.log(routeResultJson) /* Result is {} */Thank, Jay.