Object for handling URI templates