Convert core.Schema back to schema