extract the initial sql to a json file