change data format for cli/srv communicate