Write the json packet.
asyncio.StreamWriter
Writer of the socket.
dict
Input message.
write_json_packet()