protected Element createElementFromElement(String internalKey, Element internalElement) {
		Element newElement = new Element("XML");
		newElement.setAttribute(NAME, internalKey);

		Element internalElementClone = (Element) internalElement.clone();
		newElement.addContent(internalElementClone);

		return newElement;
	}
Save this object to an JsonObject

@return JsonObject containing the properties
Ghidra/Framework/Generic/src/main/java/ghidra/framework/options/GProperties.java