public static void toXml(final Config toConvert,final OutputStream stream,Boolean prettyXml) throws JAXBException {
  Marshaller varMarshaller=getMarshaller(prettyXml);
  varMarshaller.marshal(toConvert,stream);
}

public static void toXml ( final Config toConvert , final OutputStream stream , Boolean prettyXml ) throws JAXBException { Marshaller varMarshaller = getMarshaller ( prettyXml ) ; varMarshaller . marshal ( toConvert , stream ) ; }
converts config to xml ,
