Improved output formatting for variables and their values