SU-50 Fix the protobuf serializer to actually serialize links properly.