patched jersey-linking to honor query parameters