Date formatting follows Microsoft ASP.NET AJAX format which represents dates as strings in the format of: "\/Date(231231231)\/"
This code is based originally on Jason Diamond's JSON code in Anthem.NET although heavy modifications have been made.
public void WriteValue(StringBuilder sb, object val);
val