Fix nested lists of structs for from_dict