Text this: Full waveform inversion in generalized coordinates for zones of curved topography