dates are hard to serialise. Use string for now
fix serialisation
fix tests and add some more