Implement serialize/deserialize entry(part2)