simplify naming for serialize functions