private static void writeDependencies(IonWriter writer,
                                        WriteContext context,
                                        DomainObjectSet<? extends IdeaDependency> dependencies) throws IOException {
    writer.setFieldName("dependencies");
    writer.stepIn(IonType.LIST);
    for (IdeaDependency dependency : dependencies) {
      writeDependency(writer, context, dependency);
    }
    writer.stepOut();
  }
private static void writeDependencies(IonWriter writer,
                                        WriteContext context,
                                        DomainObjectSet<? extends IdeaDependency> dependencies)