public static FirefoxProfile fromJson(String json) throws IOException {
   return new FirefoxProfile(Zip.unzipToTempDir(json, "webdriver", "duplicated"));
 }
 public String toJson() throws IOException {
   return Zip.zip(layoutOnDisk());
 }