One can use Java's JavaScript execution engine and then create a JSON string which can then be parsed by the JSON nodes. Something like this:
Before, make sure to clean the input string before, so that brackets are balanced (your example contains more closing than opening brackets).