fix migrate_geodata to return Geodata instance