Converts an XML document to Avro and back.