	public void write(Writer writer) throws IOException {
		writer.write('{');
		for (Entry<String, Object> entry : values.entrySet()) {
			writer.write(JsonUtils.format(entry.getKey()));
			writer.write(':');
			writer.write(JsonUtils.format(entry.getValue()));
		}
		writer.write('}');
	}

	public void write(Writer writer) throws IOException {
		writer.write('{');
		boolean first = true;
		for (Entry<String, Object> entry : values.entrySet()) {
			if (first) {
				first = false;
			} else {
				writer.write(',');
			}
			writer.write(JsonUtils.format(entry.getKey()));
			writer.write(':');
			writer.write(JsonUtils.format(entry.getValue()));
		}
		writer.write('}');
	}
