Restore support for wrapped generics in jax-rs

Revert previous fix for wrapped generics in Utils and restore code
in MethodWriter that had been removed since version 0.10.0