public static void write(@NotNull Parent element, @NotNull OutputStream stream) throws IOException {
    write(element, stream, "\n");
  }
public static void write(@NotNull Parent element, @NotNull OutputStream stream)