Updating the reference to Newtonsoft.Json to the latest version

I upgraded Newtonsoft.Json to the latest version and reran all tests. Everything is green.

If this change is merged it would be very helpful if the nuget package was also upgraded to the latest version.