Solve a problem with json stringnify in legendVM