fix unpacking of struct fields like time.Time