private static Collection<? extends DependencyNode> readDependencyNodes(IonReader reader, ReadContext context) {
    List<DependencyNode> list = new ArrayList<>();
    reader.next();
    reader.stepIn();
    DependencyNode node;
    while ((node = readDependencyNode(reader, context, null)) != null) {
      list.add(node);
    }
    reader.stepOut();
    return list;
  }
private static Collection<? extends DependencyNode> readDependencyNodes(IonReader reader, ReadContext context)