You can take the air train from the terminal. And get off att the rental car senter. Enjoy.
At JFK, you have airtrain pass through the terminals and leave you at the Avis station Can pick up the vehicle It is open 24/7
Thanks! Your answer is awaiting moderation.