code: public static String compactToString(ModelNode node) {
          Objects.requireNonNull(node);
          final StringWriter stringWriter = new StringWriter();
          final PrintWriter writer = new PrintWriter(stringWriter, true);
          node.writeString(writer, true);
          return stringWriter.toString();
      }
docs: Build a compact representation of the ModelNode.
  @param node The model
  @return A single line containing the multi lines ModelNode.toString() content.