Working on buildMongoRecords