Depending on year without knowing model of JD it could be the vapor recovery slash rollover valve that is required for EPA standards. If they clog they can cause the same issues as a clogged fuel cap vent . Since mowers after 2012 don't have vented fuel caps only vapor recover systems that either connect to a charcoal canister, or straight into the air cleaner intake system.