Overnight near Juan Santamaria Int. Airport

If you are traveling to Costa Rica you might arrive late at Juan Santamaria International Airport and need to overnight for 1 or 2 nights before heading to other places in Costa Rica. How about San Jose or Alajuela?