Final version that works with BSONRecorder. Also fixes bugs and reduces the size of the BSON files by using includes
Deleted not needed JSON file