private object ParseCoordinate(object geometryInpunt) { try { var geometryString = (string)geometryInpunt; return(JsonExtensions.DeserializeWithGeoJson <Coordinate>(geometryString)); } catch { throw new FormatException($"Failed to parse {nameof(Coordinate)} from input '{geometryInpunt}'. Input should be a string of geojson representation"); } }