If you ever need to quickly serialize an object into JSON here is a function to do it without any external dependencies. You will need to add the following namespaces to your imports
Imports System.Runtime.Serialization.Json Imports System.IO
Public Shared Function SerializeObjectToJSON(ByVal o As Object) As String
Dim serializer As New DataContractJsonSerializer(o.GetType())
Dim ms As New MemoryStream()
Using ms
serializer.WriteObject(ms, o)
ms.Flush()
Dim bytes As Byte() = ms.GetBuffer()
Dim jsonString As String = Encoding.UTF8.GetString(bytes, 0, bytes.Length).Trim(ControlChars.NullChar)
Return jsonString
End Using
End Function