Switch to using cElementTree for performance