Use ::Trace::Endpoint instead of raw string

Needed for proper Thrift serialization