Compute the value for multi-valued aggregations

        :returns: a dict containing 'keys' and their corresponding 'values'

def get_list(self, dataframe=False):
        """
        Compute the value for multi-valued aggregations

        :returns: a dict containing 'keys' and their corresponding 'values'
        """

        res = self.fetch_aggregation_results()
        keys = []
        values = []
        for bucket in res['aggregations'][str(self.parent_agg_counter - 1)]['buckets']:
            keys.append(bucket['key'])
            values.append(bucket['doc_count'])

        result = {"keys": keys, "values": values}
        if dataframe:
            result = pd.DataFrame.from_records(result)
        return result