how to flatten a pandas dataframe with some columns as json?,"df[['id', 'name']].join([A, B])"