fn parse_pair(spec: &str) -> (NestedList, NestedList)