fix an issue with JSONKit when running on iOS 8