Why nodes are stdClass?
Generally speaking, objects are used for storing structured data and arrays for lists or collections.
It even logically makes more sense. Node is an object with properties; it's not an array of properties.

See this answer posted on SO as an example.