Added pretty print for the xml