def METHOD_NAME(tags, id: str = "0") -> str:
    out = io.StringIO()
    o = OsmSax.OsmSaxWriter(out, "UTF-8")
    o.startDocument()
    o.startElement("osm", {"version": "0.6", "generator": "Osmose"})
    o.startElement("changeset", {"id": id, "open": "false"})
    for k, v in tags.items():
        o.Element("tag", {"k": k, "v": v})
    o.endElement("changeset")
    o.endElement("osm")
    return out.getvalue()