Voting via json request