updated getAvailability output format