Fixed nested Duration objects

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added replaceValue to widgets

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Fixed Duration widget conversions

Signed-off-by: Tom Wright <tom@inflatablecookie.com>