Expose the paintable tree dump through the internals object, analogous to the existing dumpLayoutTree(). This is useful for testing and debugging painting behavior.