code: public String payload(int index) {
          return payload.size() > index ? payload.get(index) : null;
      }
docs: Returns a payload at `index` or `null` if no payload found
  there
  
  @param index the index to fetch the payload
  @return the payload at the position or `null` if not available