def store(self, m: Map):
        json = m.to_json(pretty=self.prettify)

        with open(self.out_file, 'w') as f:
            f.write(json)
            f.write('\n')  # Ensure newline at EOF