pretty print xml too