Parse response into JSON object.
Finish script.