Added XML To Array functionality