activitypub: add a match clause for objects, not just activities