The 'trackId' actually comes out of the JSON as an NSNumber, not an NSString. Don't assume it's a number nor a string, but check and Do The Right Thing™ in either case.