code: public JSONObject put(String key, Collection<?> value) throws JSONException {
  		this.put(key, new JSONArray(value));
  		return this;
  	}
docs: Put a key/value pair in the JSONObject, where the value will be a
  JSONArray which is produced from a Collection.
  
  @param key A key string.
  @param value A Collection value.
  @return this.
  @throws JSONException If the value is invalid