If resolveObject event returns `undefined`, we will not trigger object/objectEnd events for current element.