parse string back into JSON