From my understanding it seems you are getting your output in num or str format. You can first use the below function to convert your output to sym.
Then add the code below:
Once you have symbolic expression available you can use
Since no data is available, i am not completely sure this should work, but its a possible workaround.
Hope it helps !