string representations of objects in node and the browser