python flask serving up json to d3 for decision trees. personal boiler.