reshape_diagnosis function

Clean up a diagnosis object for printing