Working on the serializer / deserializer