change DATA to yaml format