modify output for xml php