add marshalling for PortConfig
add marshalling for PortFeatures