jsoninfo: fix compile warnings on windows