The default value of a datetime cannot be serialized with JSON.  Use a 0 int instead.