adding protocol to JSON send msgs for dumb devices

created a new field called protocol. Still in testing