path pattern using jersey's library and generic type parser