refactor two should_partly_parse calls into one
parse an array of structure groups