UriTemplate is not serializable