Compute an extent given a GeoJSON object.