code: def to_json(self):
          ''' NetworkDescriptor to json representation
          '''
  
          skip_list = []
          for u, v, connection_type in self.skip_connections:
              skip_list.append({"from": u, "to": v, "type": connection_type})
          return {"node_list": self.layers, "skip_list": skip_listf to_json(self):
          ''' NetworkDescriptor to json representation
          '''
  
          skip_list = []
          for u, v, connection_type in self.skip_connections:
              skip_list.append({"from": u, "to": v, "type": connection_type})
          return {"node_list": self.layers, "skip_list": skip_list}
docs: NetworkDescriptor to json representation