Remove redundant insert method in serialize