The input stream contains too many delimiter characters which may be a sign that the incoming data may be malicious

The input stream contains too many delimiter characters which may be a sign that the incoming data may be malicious

We automatically generate a JSON object from jQuery, and this JSON object can become pretty big.
Now we get the following error on the Web API back:

{"ExceptionType":"System.InvalidOperationException","Message":"The input stream contains too many delimiter characters which may be a sign that the incoming data may be malicious.","StackTrace":"   at System.Net.Http.Internal.ThresholdStream.CheckByte(Byte b)    at System.Net.Http.Internal.ThresholdStream.CheckBytes(Byte[] buffer, Int32 offset, Int32 count)    at System.Net.Http.Internal.ThresholdStream.Read(Byte[] buffer, Int32 offset, Int32 count)    at System.IO.BufferedStream.ReadByte()    at System.Runtime.Serialization.Json.JsonEncodingStreamWrapper.ReadByte()    at System.Xml.XmlBufferReader.TryEnsureByte()    at System.Xml.XmlBufferReader.GetByteHard()    at System.Xml.XmlBufferReader.GetByte()    at System.Runtime.Serialization.Json.XmlJsonReader.Read()    at System.Xml.XmlDictionaryReader.ReadContentAsString(Int32 maxStringContentLength)    at System.Xml.XmlBaseReader.ReadContentAsString()    at System.Xml.XmlBaseReader.ReadElementContentAsString()    at System.Json.JXmlToJsonValueConverter.ReadPrimitive(String type, XmlDictionaryReader jsonReader)    at System.Json.JXmlToJsonValueConverter.JXMLToJsonValue(XmlDictionaryReader jsonReader)    at System.Json.JXmlToJsonValueConverter.JXMLToJsonValue(Stream jsonStream, Byte[] jsonBytes)    at System.Json.JXmlToJsonValueConverter.JXMLToJsonValue(Stream jsonStream)    at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>c__DisplayClass7.<OnReadFromStreamAsync>b__6()    at System.Net.Http.Internal.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}

 Is there a way to avoid this? A setting to disable delimter counting for example?