def get_records_with_authors(self, model_id, raw_records=None):
        if raw_records is None:
            raw_records = self.__get_raw_records(model_id)
        records = []
        for item in raw_records:
            item['record']['id'] = item['_id']
            records.append({"authors": deepcopy(item['authors']),
                            "record": deepcopy(item['record'])})
        return records
dataset/ETHPy150Open spiral-project/daybed/daybed/backends/memory/__init__.py/MemoryBackend.get_records_with_authors/original