static String convertToString(JsonElement element, String defaultStr) {
		String str = convertToString(element);
		return str != null ? str : defaultStr;
	}
Get String held by a JsonElement, allowing for a null object.
@param element is the JsonElement or null
@param defaultStr default string to be returned if element or string is null
@return the underlying String or defaultStr if null
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/elastic/ElasticConnection.java