I have JSON output like:
```
    {
      "entity": "BLOCK",
      "index": 23,
      "type": 4,
      "handle": [0, 1, 33],
      "size": 29,
      "bitsize": 187,
      "_subclass": "AcDbEntity",
      "layer": [5, 1, 16, 16],
      "prev_entity": [4, 0, 0, 0],
      "next_entity": [4, 0, 0, 0],
      "preview_exists": 0,
      "entmode": 1,
      "isbylayerlt": 1,
      "nolinks": 0,
      "color": 256,
      "ltype_scale": 1.0,
      "invisible": 0,
      "_subclass": "AcDbBlockBegin",
      "name": "*PAPER_SPACE"
    },
```

There are two '_subclass' keys. This is not possible in JSON.
JSON file generated by libredwg is not valid - duplicate keys
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : JSON file generated by libredwg is not valid - duplicate keys
Issue date:

--- start body ---
I have JSON output like:
```
    {
      "entity": "BLOCK",
      "index": 23,
      "type": 4,
      "handle": [0, 1, 33],
      "size": 29,
      "bitsize": 187,
      "_subclass": "AcDbEntity",
      "layer": [5, 1, 16, 16],
      "prev_entity": [4, 0, 0, 0],
      "next_entity": [4, 0, 0, 0],
      "preview_exists": 0,
      "entmode": 1,
      "isbylayerlt": 1,
      "nolinks": 0,
      "color": 256,
      "ltype_scale": 1.0,
      "invisible": 0,
      "_subclass": "AcDbBlockBegin",
      "name": "*PAPER_SPACE"
    },
```

There are two '_subclass' keys. This is not possible in JSON.
--- end body ---
