Support text values in result handlers
This is required to later print the regression method that was used.