using json for low level protocol
added setIsolierstoss to middleware