Remove ByteData class.
Implement yaml mappings for portrange and portlist.