parser.py: Writer: merge method