Un-burn everything?

I think un-burning an item always sets it back to apprentice. I’m not aware of any script that can change this. You can however review burned items with scripts. I know Item Inspector is capable of doing it by making a table of burned items and quizzing them.