public static Connection FromDescriptor(string name, dynamic spec) { Connection connection = new Connection(); connection.Name = name; connection.Components = spec["Components"]; return connection; }