Create TreeNodes from a protocol message