DNN-4001 Fixed encoding returned by Json.Serialize