code: public static void writeJSON(Map<String, ? extends Object> map, Appendable out, JSONStyle compression)
  			throws IOException {
  		if (map == null) {
  			out.append("null");
  			return;
  		}
  		JsonWriter.JSONMapWriter.writeJSONString(map, out, compression);
  	}
docs: Encode a map into JSON text and write it to out. If this map is also a
  JSONAware or JSONStreamAware, JSONAware or JSONStreamAware specific
  behaviours will be ignored at this top level.
  
  @see JSONValue#writeJSONString(Object, Appendable)