Eliminate unnecessary RepositoryMetadata.to_dict() method in the tool shed.