code: public JSONObject element( String key, Collection value ) {
        return element( key, value, new JsonConfig() );
     }
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