[BUGFIX] if return a collection of nodes these nodes must be read as nodes, not as JSONArrays