Don't mutate the schema while converting it.

Among other reasons, this lets you use the same schema for multiple
DBs by using YAML references.