code: public static String serialize(Object object) {
  	if (object == null) return "[null]";
  	try {
  	    return new ScriptConverter().serialize(object);
  	}
  	catch (Throwable t) {
  	    ExceptionUtil.rethrowIfNecessary(t);
  	    return object.toString();
  	}
      }
docs: translate a object to its string representation
  
  @param object
  @return