More refactoring for serialization
Extract NEC interface for deserialization