Python script to convert a CSV file to JSON