Json node should have N elements on associative array

Json inspector evaluate associative array into `stdClass`, which always returns 1 on `sizeof()`.
So we need to cast it to array before to know real count.
Test condition is not required because if node is scalar, method should return 1.