replace XML processor with ElementTree with custom indentation