mod: rs232terminal suits to json server-client communication