Reformat xml for readability