add pretty xml printer