public String serialize(Object object) throws ConverterException {
  deep=0;
  StringBuilder sb=new StringBuilder();
  deep++;
  sb.append(_serialize(object,new HashMap<Object,String>()));
  deep--;
  return sb.toString();
}

public String serialize ( Object object ) throws ConverterException { deep = 0 ; StringBuilder sb = new StringBuilder ( ) ; deep ++ ; sb . append ( _serialize ( object , new HashMap < Object , String > ( ) ) ) ; deep -- ; return sb . toString ( ) ; }
serialize a object to his xml format represenation and create a valid wddx representation
