Reformat XML for readability