add json adapter for `timedelta` instances