Fix bug DNN-3227: as we changes the serialize function of Json, the output will be an object when serialize it, no need convert again.