Use helper function to log diagnostic responses as strings.