Make sure to register BatchID and Timespan

without this, kryo writes the full class name. Might really be killing perf in some cases.