cleanup
Issue #6 : fix serializer/deserializer instantiation with constructor