fixed bug with arrays and negative numbers in json parser