function formatAsFriendlyString(value) {
	  if (value === null) {
	    return 'null';
	  } else if (Array.isArray(value)) {
	    return '[' + value.map(function (v) {
	      return formatAsFriendlyString(v);
	    }).join(',') + ']';
	  } else if (typeof value === 'string') {
	    return "\"" + value + "\"";
	  } else {
	    return "" + value;
	  }
	}
Format a value into a display-friendly, human-readable fashion.

- `null` is formatted as `'null'`
- Strings are formated with flanking pair of quotes.
- Arrays are formatted with flanking pair of square brackets.

@param value The value to display.
@return Formatted string.