Created a JSON object from the string