Fix if root node is being used
arrays, even empty ones, need to be a string