Writing custom formatters for logged objects in Chrome