Uses util.inspect instead of JSON.stringify to support circular object.