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