Updated the xmlAttributesToArray method in MachineAbstract.php to be recursive.