Turned json into an object