better json response for votes