code: public static String asString(ModelNode value, String defaultValue) {
          return value.isDefined() ? value.asString() : defaultValue;
      }
docs: Returns the value of the node as a string, or the specified default value if the node is undefined.
  @param value a model node
  @return the value of the node as a string, or the specified default value if the node is undefined.