Function StepResult.toString

Convert the result to a json string

override string toString();