I have a simple function here to parse through an xml by parsing it to the Elementree module and returning a dictionary dict. But i need to manipuate the data as per the