Bayesian nonparametrics and marked Poisson processes