convert to the common url:[data] format for port strings