adding response to json hash