pretty format XML after removing escaped characters