V3 jsonvalue serialization

* Stopped JsonValue from getting escaped over and over for each serialization call
* Fixed broken SafeSubstring unit tests