I\'m trying to unmarshal some xml into java objects wrapped in Guava\'s Optional using a generic XmlJavaTypeAdapter. However, I can\'t get it to work properly using generics