function formatObject(o) {
		var s = String(o);
		if(s === '[object Object]' && typeof JSON !== 'undefined') {
			s = tryStringify(o, s);
		}
		return s;
	}
Format an object, detecting "plain" objects and running them through
JSON.stringify if possible.
@param {Object} o
@returns {string}