Is it possible to convert the type of a Minecraft world?

I solved this by editing my world's level.dat with NBTExplorer, changing the variable generatorType from flat to default.