new serialization format of Duration

see issue #70