reformat service.xml