Apply tostring decorator