We can flush immediately after making josn string
We can flush immediately after making josn string

This centralizes all flush() calls

qnib/QNIBCollect,qnib/QNIBCollect,qnib/QNIBCollect,qnib/QNIBCollect