An object dump helper