Develop a simple SerDe