https://github.com/Netflix/eureka/issues/11: Fixed a bug where Xstream deserialization was returning "null" when the appropriate type was not defined. Also, change the deserialization type check to check only for subtypes(xml or json) instead of the exact string match (for e.g.) application/xml.