serialize with voted