Add GetEndPoint function to get the endpoint of an Value