fixing check in setchecks for is_array (removed)
adding more checks to the json