Workaround newtonsoft/mono incomatibility