CSV to JSON in Python: csv.DictReader, Pandas, and Best Practices