Swift implementation of URI Template