private static void writeDependenciesField(IonWriter writer,
                                             WriteContext context,
                                             DependencyNode dependencyNode) throws IOException {
    writer.setFieldName("dependencies");
    writer.stepIn(IonType.LIST);
    for (DependencyNode componentDependencies : dependencyNode.getDependencies()) {
      writeDependencyNode(writer, context, componentDependencies);
    }
    writer.stepOut();
  }
private static void writeDependenciesField(IonWriter writer,
                                             WriteContext context,
                                             DependencyNode dependencyNode)