Made the toModel run the toModel on child models