add a function to disable the force-serialize fn