Test scenario:
Input DWG file (blank file from AutoCAD 2000):
[test.dwg.gz](https://github.com/LibreDWG/libredwg/files/12361564/test.dwg.gz)
When I convert to JSON, 10th handle in JSON:
```
      {
        "nr": 10,
        "hdl": [
          11
        ]
      },
```
Which is backup of ```VX_CONTROL_OBJECT: (3.1.B) abs:11 [H 0]```

After conversion from this JSON to DWG, result will be:
```
handles[10].num_hdl: 1 [RCd 0]
handles[10].nr: 10 [RCd 0]
hdl: { 0x8 } [*RC]
```

As I see, each time will be 0x8 from JSON conversion to DWG. This is bad.

Issue in 10th handle in second header
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Issue in 10th handle in second header
Issue date:

--- start body ---
Test scenario:
Input DWG file (blank file from AutoCAD 2000):
[test.dwg.gz](https://github.com/LibreDWG/libredwg/files/12361564/test.dwg.gz)
When I convert to JSON, 10th handle in JSON:
```
      {
        "nr": 10,
        "hdl": [
          11
        ]
      },
```
Which is backup of ```VX_CONTROL_OBJECT: (3.1.B) abs:11 [H 0]```

After conversion from this JSON to DWG, result will be:
```
handles[10].num_hdl: 1 [RCd 0]
handles[10].nr: 10 [RCd 0]
hdl: { 0x8 } [*RC]
```

As I see, each time will be 0x8 from JSON conversion to DWG. This is bad.

--- end body ---
