How to replace a specific field containing a JSON string in each row of a csv file in Python with a random value? I have a csv file named input.csv with the following columns: