Correct a list comprehension which caused node comments to be added to spine and manifest json