persist datapoint json to disk