public String dump(Object data){
  List<Object> list=new ArrayList<Object>(1);
  list.add(data);
  return dumpAll(list.iterator());
}

public String dump ( Object data ) { List < Object > list = new ArrayList < Object > ( 1 ) ; list . add ( data ) ; return dumpAll ( list . iterator ( ) ) ; }
serialize a java object into a yaml string .
