The default Newtonsoft serializer cannot serialize Sql Geometry and Geography types and we would need a custom convertor. https://stackoverflow.com/questions/45848550/newtonsoft-json-jsonserializationexception-error-getting-value-from-value-on