First working serialization of values. (Moved to Json.Net 4.5).