Ix 9.1.0 sphinx json 2

Some changes in order to support minus values, and to save int values as ints.