docs: public static String toXML(Object object, String encoding, Properties properties) throws MarshalException {
  		Marshaller marshaller = new XmlMarshaller(object);
  		
  		marshaller.enableLowCase(properties.contains("lowcase") ? Boolean.parseBoolean(properties.get("lowcase").toString()) : true);
  		marshaller.enablePrettyPrint(properties.contains("pretty") ? Boolean.parseBoolean(properties.get("pretty").toString()) : true);
  		marshaller.enableCDATA(properties.contains("cdata") ? Boolean.parseBoolean(properties.get("cdata").toString()) : true);
  		marshaller.enableNodeMode(properties.contains("node") ? Boolean.parseBoolean(properties.get("node").toString()) : true);
  		
  		marshaller.setIndent(properties.contains("indent") ? (String)properties.get("indent") : "\t");
  		marshaller.setEndOfLine(properties.contains("endofline") ? (String)properties.get("endofline") : "\n");
  		
  		marshaller.setDocumentStart(properties.contains("document-start") ? 
  				(String)properties.get("document-start") : 
  				String.format("<?xml version='1.0' encoding='%s'?>", encoding));
  		marshaller.setDocumentEnd(properties.contains("document-end") ? 
  				(String)properties.get("document-end") : "");
  		
  		return marshaller.marshal().toString();
  	}