code: public static String toJSONString(Map<String, ? extends Object> map, JSONStyle compression) {
  		StringBuilder sb = new StringBuilder();
  		try {
  			writeJSON(map, sb, compression);
  		} catch (IOException e) {
  			// can not append on a StringBuilder
  		}
  		return sb.toString();
  	}
docs: Convert a map to JSON text. The result is a JSON object. If this map is
  also a JSONAware, JSONAware specific behaviours will be omitted at this
  top level.
  
  @see net.minidev.json.JSONValue#toJSONString(Object)
  
  @param map
  @return JSON text, or "null" if map is null.