properly unwrap Optionals in Jersey resources
Merge pull request #749 from tpetr/unwrap-resource-optionals2

properly unwrap Optionals in Jersey resources