public void execute(Tuple input) {
//just need an id
long genId = MessageId.generateId();
_inputs.put(genId, input);
try {
JSONObject obj = new JSONObject();
obj.put("id", genId);
obj.put("comp", input.getSourceComponent());
obj.put("stream", input.getSourceStreamId());
obj.put("task", input.getSourceTask());
obj.put("tuple", input.getValues());
sendToSubprocess(obj.toString());
while(true) {
String line = "";
while(true) {
String subline = _processout.readLine();
if(subline==null)