Revert "Fix vote deserialization."

This reverts commit 91f70550fcf23f362852619edcb963c668fe3686.