Adding thread name and module to BSON record.