Mark the jersey webresource as transient so it won't be serialized to disk.