Reduce the number of coordinates in GeoJSON while preserving its overall shape using the Douglas-Peucker algorithm.