create preprocessed json file