Changing so writing json to disk happens as the job is running, not once it's complete.
Adding