Extract nodeunit input data to separate json file