Fix ObjectCapability parser