def save_reports(self, reports):
    reports_to_insert = map((lambda report: report.serialize_db()), reports)
    insert_result = self.db['reports'].insert_many(reports_to_insert)
    insterted_ids = insert_result.insterted_ids
    return insterted_ids
def save_reports(self, reports):
    reports_to_insert = map((lambda report: report.serialize_db()), reports)
    insert_result = self.db['reports'].insert_many(reports_to_insert)
    insterted_ids = insert_result.insterted_ids
    return insterted_ids