parseBracket and parseGroupStage