If the plain text is in JSON format, then, once you extract the text, you should be able to use standard Python library routines to convert it into the in-Python equivalent: e.g., a list
or dict
.
At least, as a workaround, until the real problem is found.