bugfix: port/binding serialization