From one method I'm getting string like that one:
"{\n \"Name\": \"Next steps for pathway activities\",\n \"Options\": [\n {\n \"Name\": \"Show next steps\",\n \"ActionType\": \"PathSelector\",\n \"Key\": \"otoscopy\",\n \"Group\": \"pathway-activities\"\n },\n {\n \"Name\": \"Treatment cannot continue\",\n \"ActionType\": \"Navigation\",\n \"Key\": \"treatment\",\n \"Group\": \"pathway-activities\"\n },\n {\n \"Name\": \"Refer to GP\",\n \"ActionType\": \"PathSelector\",\n \"Key\": \"refer_to_gp\",\n \"Group\": \"treatment\"\n },\n {\n \"Name\": \"New Wax appointment\",\n \"ActionType\": \"PathSelector\",\n \"Key\": \"new_wax_appointment_otoscopy\",\n \"Group\": \"treatment\"\n },\n {\n \"Name\": \"Continue treatment\",\n \"ActionType\": \"Navigation\",\n \"Key\": \"pathway-activities\",\n \"Group\": \"treatment\"\n }\n ]\n}"
How can I parse it to a normal format? (P.S. It is not required to be as a string as a result, it also can be some dynamic object)