Adding first approach of serialization