Mass fix: voting, email sending, elementary JSON for voting