Fixed JSONKit deprecated methods

Still many warnings