* Creates the output root data.
* @return the output root data, not null
*/
protected FlexiBean createRootData() {
FlexiBean out = super.createRootData();
ConfigDocument latestDoc = data().getConfig();
ConfigDocument versionedConfig = data().getVersioned();
out.put("latestConfigDoc", latestDoc);
out.put("latestConfig", latestDoc.getConfig().getValue());
out.put("configDoc", versionedConfig);
out.put("config", versionedConfig.getConfig().getValue());
out.put("configDescription", getConfigTypesProvider().getDescription(versionedConfig.getConfig().getType()));
out.put("configXml", createXML(versionedConfig));
out.put("deleted", !latestDoc.isLatest());
return out;
}