A unifying representation for a class of dependent random measures