Removed default value return in to_dict()