private String dumpSignatures(Map<Address, FunctionSignature> signatures) {
		StringBuilder builder = new StringBuilder();
		for (Map.Entry<Address, FunctionSignature> entry : signatureInfo.entrySet()) {
			Address addr = entry.getKey();
			FunctionSignature sig = entry.getValue();
			builder.append(String.format("\"%s\",\"%s\"\n", addr.toString(), sig.toString()));
		}
		return builder.toString();
	}
Developer script to capture items from Program and PDB for developing tests
Ghidra/Features/PDB/developer_scripts/CaptureHelperScript.java