private void parseResponse(String rawResponse, GoogleResponse gr) {
		if (rawResponse == null || !rawResponse.contains("\"result\"") || rawResponse.equals("{\"result\":[]}")) {
			return;
		}
		if (rawResponse.contains("\"confidence\":")) {
			String confidence = StringUtil.substringBetween(rawResponse, "\"confidence\":", "}");
			gr.setConfidence(confidence);
		} else {
			gr.setConfidence(String.valueOf(1d));
		}
		String array = StringUtil.trimString(rawResponse, "[", "]");
		if (array.contains("[")) {
			array = StringUtil.trimString(array, "[", "]");
		}
		if (array.contains("\"confidence\":")) {// Removes confidence phrase if
												// it exists.
			array = array.substring(0, array.lastIndexOf(','));
		}
		String[] parts = array.split(",");
		gr.setResponse(parseTranscript(parts[0]));
		for (int i = 1; i < parts.length; i++) {
			gr.getOtherPossibleResponses().add(parseTranscript(parts[i]));
		}
	}