Having an issue with Lambda response that LexBot expect

I have a lambda which query dynamo Db table for an available times once the the date is entered by the user and then the lambda will add those available time to the session attribute and will elicit to next slot. but once the user entered the date then the lex gives me an error message which I believe is about the response from the lambda.
here is the lex error message

Invalid Lambda Response: Received invalid response from Lambda: Cannot construct instance of `java.util.LinkedHashMap` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('slots') at [Source: (String)"{"sessionState":{"sessionAttributes":{"availableTimes":"2:30 PM, 8:00 AM"},"intent":{"name":"Date","slots":"slots"}},"dialogAction":{"type":"ElicitSlot","fulfillmentState":"Fulfilled","slotToElicit":"Time","message":{"contentType":"PlainText","content":"What time would you like to schedule your appointment?"}}}"; line: 1, column: 108]

here is the lambda code

import { DynamoDBClient, QueryCommand } from "@aws-sdk/client-dynamodb";
import { unmarshall } from "@aws-sdk/util-dynamodb";

const REGION = "us-east-1";
const dynamodbClient = new DynamoDBClient({ region: REGION });

export const handler = async (event) => {
    console.log("EVENT: ", JSON.stringify(event, null, 2));

    try {
        const sessionState = event.sessionState || {};
        const intent = sessionState.intent || {};
        const slots = intent.slots || {};
        const dateSlot = slots.Dates || {};
        const appointmentDate = dateSlot.value ? dateSlot.value.interpretedValue : null;
        const params = {
            TableName: "Schedule",
            KeyConditionExpression: "availableDates = :date",
            ExpressionAttributeValues: {
                ":date": { S: appointmentDate }
            }
        };
        const command = new QueryCommand(params);
        const response = await dynamodbClient.send(command);

        const items = response.Items.map((item) => unmarshall(item));
        console.log('Data from Schedule: ', items);

        let availableTimesSet = new Set();
        items.forEach(item => {
            if (item.availableTimes) {
                availableTimesSet.add(item.availableTimes);
            }
        });
        const availableTimesArray = Array.from(availableTimesSet);
        const availableTimes = availableTimesArray.join(', ');

        sessionState.sessionAttributes = sessionState.sessionAttributes || {};
        sessionState.sessionAttributes.availableTimes = availableTimes;
        return {
            sessionState: {
                sessionAttributes: sessionState.sessionAttributes || {},
                intent: {
                    name: "Date"
                }
            },
            dialogAction: {
                type: "ElicitSlot",
                fulfillmentState: "Fulfilled",
                slotToElicit: "Time",
                message: {
                    contentType: "PlainText",
                    content: "What time would you like to schedule your appointment?"
                }
            }
        };
    }
    catch (error) {
        console.error('Error querying DynamoDB', error);
        return {
            sessionAttributes: event.sessionState ? event.sessionState.sessionAttributes : {},
            dialogAction: {
                type: "Close",
                fulfillmentState: "Failed",
                message: {
                    contentType: "PlainText",
                    content: `There was an error retrieving available times. Please try again later.`
                }
            }
        };
    }
};

I need help with processing the lambda response according to the lex requirement
PS: I have read too many documents

I have read as many documents and made a lot of changes but the lexbot response doesnt seem to be affected, still the same.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật