'Return a set of summary attributes for a visualization in dictionary form.
NOTE: that encoding ids isn\'t done here should happen at the caller level.'

def get_visualization_summary_dict(self, visualization):

    return {'id': visualization.id, 'title': visualization.title, 'type': visualization.type, 'dbkey': visualization.dbkey}
