Option class now have toArray to get children as an array
If an option has children those are passed to the setter method of an task