Allow time.Time in structs

fixes #44