create a JSON file with the current process.env