actually write out the raw data from bson connections