I use JSON.parse in an Execute JavaScript for Automation action for this.
( e.g. Trying to parse csv file into variables )
For more information, see the wiki Searching the Forum for Answers section.