import json


def col_json_to_dict(df, cols):
    """Transform the json values inside a column into list of dictionaries
        Args:
            df(pd.Dataframe): dataframe 
            cols(list): name of columns with json values
        Returns:
            A pandas Dataframe with the json columns transformed
    """
    transformed_df = df
    for col in cols:
        transformed_df = transformed_df.assign(**{col: df[col].apply(json.loads)})
    return transformed_df