Reproducible spark failure due to inconsistent kryo serialisation