fix bug in json-processes graph