modified jsonData array check

array check was erroneous anything greater than 0 is legit