be sure to set class loader of kryo instances