How can I efficiently move from a Pandas dataframe to JSON,aggregated_df.reset_index().to_json(orient='index')