Fixed a small problem in JSON class

It would not detect an Array because of the tokener having moved forward
once already.