@JsonIgnore
    public Optional<ApimanEventHeaders> getHeaders() {
        JsonNode possibleHeaders = this.payload.at("/headers");
        if (!possibleHeaders.isMissingNode() && possibleHeaders.isObject()) {
            return Optional.of(JsonUtil.toPojo(possibleHeaders, ApimanEventHeaders.class));
        }
        return Optional.empty();
    }
Pulls the payload type out of its headers segment.

@return the type of the payload via its headers, and "missing" if unset.
manager/api/beans/src/main/java/io/apiman/manager/api/beans/notifications/NotificationEntity.java