Improve the way that `reason` and `solution` strings are built. At this moment, the `doctor` command is using a lot of static strings.