private static void appendWeightSettings(StringBuilder builder, Configuration config) {
		double[] weightArray = config.weightfactory.toArray();
		builder.append('\"').append(weightArray[0]);
		for (int i = 1; i < weightArray.length; ++i) {
			builder.append(' ').append(weightArray[i]);
		}
		builder.append("\" ");
	}
Append configuration WeightFactory weights to a JSON document in progress
@param builder accumulates the encoded weights
@param config is the Configuration
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/elastic/ElasticDatabase.java