fix for evaluating json error when root node is array