VarBuilder.endContainer
void endContainer() @safePops the stack, completing the current container.
For TAG frames, flattening rules are applied based on the number of values, presence of attributes, and presence of children. The result becomes the current value. Any pending member state saved when the frame was pushed is restored, so endMember() can attach the container as a value.