Whom should we believe? Aggregation of heterogeneous beliefs