Add windows support. Don't die on bad JSON.