def to_output(self, value):
        """Convert value to process output format."""
        return json.loads(resolwe_runtime_utils.save_file(self.name, value.path, *value.refs))
Convert value to process output format.