將 HashMap.toString() 轉換為 Java 中的 HashMap