senddata to yaml