Why not profile and see where the time is actually going? Slow JSON parsing? Slow I/O?
I didn't spend a huge amount of time profiling this though, since it's very early days in my project and it'd take me less time to just rewrite what I'd done so far in a language that I know works.