don't call to_dict() twice