Python script for converting CSV to JSON