(Ports) Improve serialization
Right now, we only serialize port name and uuid, but port status and (in the case of OutputPort) port arguments also should be serialized.
Right now, we only serialize port name and uuid, but port status and (in the case of OutputPort) port arguments also should be serialized.