public static Map<String,String> toMap(JSONObject j) throws JSONException {
  return toMap(j,new HashMap<>(),StringUtils.EMPTY);
}

public static Map < String , String > toMap ( JSONObject j ) throws JSONException { return toMap ( j , new HashMap < > ( ) , StringUtils . EMPTY ) ; }
convert json object to map representation . nested object are represented by keys like xpath ( dot separated )
