remove dependency on JSONKit