code: public JSONArray element( Map value, JsonConfig jsonConfig ) {
        if( value instanceof JSONObject ){
           elements.add( value );
           return this;
        }else{
           return element( JSONObject.fromObject( value, jsonConfig ) );
        }
     }
docs: Put a value in the JSONArray, where the value will be a JSONObject which
  is produced from a Map.
  
  @param value A Map value.
  @return this.