Chaned level data format to xml