yamlize the root types