Use pretty-xml format when serializing RDF templates