Pretty print root objects when logged