write a Function of serizlize in formSerizlization.js