serialize for KnowHOWREPR