public final String toPluginData() {
		int voiceIdx = 0;
		final StringBuilder sb = new StringBuilder();
		sb.append("\t\t\t{\r\n");
		if (this.sortedVoices.isEmpty()) {
			// no X:-line
			sb.append("\t\t\t\t[");
			sb.append(String.valueOf(++voiceIdx));
			sb.append("] =\r\n\t\t\t\t{\r\n");
			sb.append("\t\t\t\t\t[\"Id\"] = \"");
			sb.append(String.valueOf(1));
			sb.append("\",\r\n\t\t\t\t\t[\"Name\"] = \"");
			sb.append("\"\r\n");
		} else {
			for (final Entry<Integer, String> voice : this.sortedVoices
					.entrySet()) {
				if (voiceIdx > 0) {
					sb.append("\t\t\t\t},\r\n");
				}
				sb.append("\t\t\t\t[");
				sb.append(String.valueOf(++voiceIdx));
				sb.append("] =\r\n\t\t\t\t{\r\n");
				sb.append("\t\t\t\t\t[\"Id\"] = \"");
				sb.append(voice.getKey().toString());
				sb.append("\",\r\n\t\t\t\t\t[\"Name\"] = \"");
				sb.append(voice.getValue());
				sb.append("\"\r\n");
			}
		}
		sb.append("\t\t\t\t}\r\n");
		sb.append("\t\t\t}\r\n");
		return sb.toString();
	}