new directoryLinks
profiling optimization (added ujson dependency), clean up tests.