Rasa utter_message converting json to string

I want to convert my response in json format but it is converting it into string.

Response expected

{
    "recipient_id": "default",
    "data": [{
        "Name": "John",
        "status": "To Be Processed",
        "LastUpdatedDate": "2013-05-31 08:40:55.0"
    }, {
        "Name": "Paul",
        "status": "To Be Processed",
        "LastUpdatedDate": "2013-06-02 16:03:00.0"
    }] };

Response getting

{
    "recipient_id": "default",
    "data": ""[{
        "Name": "John",
        "status": "To Be Processed",
        "LastUpdatedDate": "2013-05-31 08:40:55.0"
    }, {
        "Name": "Paul",
        "status": "To Be Processed",
        "LastUpdatedDate": "2013-06-02 16:03:00.0"
    }]""
};

i am using dispatcher.utter_message to send response.

This might be down to how python handles strings, try using the r flag before passing the string to utter_message.

I have a similar issue where I am trying to pass the JSON data like below but in the calling program(python) the data is getting converted as string format… Any idea how to solve it ?

dispatcher.utter_message(json_message=data)