convert message to json on transport