Trying to fix NPE for XStream parser