Fix compiler warnings in JSONKit