Pass the correct Class name to xml_to_object