Fixed Newtonsoft.Json serialization problems by switching to System.Runtime.Serialization.Json.