Fixed access to URI in 'object'. Already string, so 'id' was wrong.
Debugging showed that $payload->object contains the URI as a string. So further going down with ->id creates an error. This is fixed by this change.
Debugging showed that $payload->object contains the URI as a string. So further going down with ->id creates an error. This is fixed by this change.