made duration (un)serialize more noda\isodate-like, tests