support for mtime in serialization