Add attributes to payload