class YamlUtil {

	public static StringWriter dump(Object obj) {
		Yaml yaml = new Yaml();
		StringWriter stringWriter = new StringWriter();
		yaml.dump(obj, stringWriter);
		return stringWriter;
	}

}