move generation of RESP strings into SendCommand and SendDataCommand