replace payload by customProperty / customProperties