small cleanup to serialize script descriptions