Minor: reformat code
Fixec conflict
Parallel query: used fixed queue
Minor: removed prints
Test: improved document serialization speed test