fixing issue in GsonProvider and supporting GenericTypes in Jersey