The Ticket->__toArray() method now correctly sets ticket votes.
Tickets can now be updated via the API.