Left-factor out common subparser of lists & pairs