def METHOD_NAME(self):
    if self.object is None:
        return {}, {}
    if isinstance(self.object, dict):
        cols = data = dict(self.object)
    else:
        data = self.object
        cols = ColumnDataSource.from_df(self.object)
    return data, {str(k): v for k, v in cols.items()}