use Int instead of String in json vote post