Avoid NPE when metadata is load using XStream properties are not being load