fix unexpected token error when parsing an empty json array

add json clone tests, obj tests still dysfunctional - relates to #785

(0) -1000 -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial