Handle nodes if they are incorrectly stored as a string

Mainly for legacy content, I think.