BLD: fix json to build on windows, @Komnomnomnom