constify the return value of reason2str