JacksonJaxbJsonProvider provider = new JacksonJaxbJsonProvider();
File in = File.createTempFile(object.getClass().getName() + "In", ".json", this.tempDir);
File out = File.createTempFile(object.getClass().getName() + "Out", ".json", this.tempDir);
FileOutputStream fos = new FileOutputStream(in);
provider.writeTo(object, null, null, null, null, null, fos);
fos.close();
Process process = new ProcessBuilder(this.rubyExe, this.exe.getAbsolutePath(), packageToModule(object.getClass().getName()), in.getAbsolutePath(), out.getAbsolutePath())
.directory(this.exe.getParentFile())
.redirectErrorStream(true)
.start();