Adds JSON parsing of response