Logging, debugging, auto-generation of UIs/editors, etc... This is an extremely common operation and for a good reason.