XD-282 Formatting xml for avro sink