XML parses data into custom objects, puts objects into an array