Extracting value from ansible play

Team,

During ansible play one of the debug variable as shown below
ok: [hostname] => {
“variable name”: [
“value”
]
}

/tmp/“{{value}}” ==> /tmp/"[u’value’]"
I want to use only value instead of u, , now and expecting output as /tmp/value ; please suggest…