Two variants:

1. json dump the tables, entities and blocks, as in the dwg/dxf.
    very simple and understandable, but needs special code for injson.

2. or create interim _CONTROL objects, holding the tables. 
    best as r2004 arrays, not as r2000 doubly-linked lists.
    this would allow the old iteration via model_space -> block_control -> entities, as before. 
    e.g. for dxf in/out, and all the helpers.

we really need to add some diagrams to the docs also, how the iterators work.

pick a preR13 iterator/tables variant
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : pick a preR13 iterator/tables variant
Issue date:

--- start body ---
Two variants:

1. json dump the tables, entities and blocks, as in the dwg/dxf.
    very simple and understandable, but needs special code for injson.

2. or create interim _CONTROL objects, holding the tables. 
    best as r2004 arrays, not as r2000 doubly-linked lists.
    this would allow the old iteration via model_space -> block_control -> entities, as before. 
    e.g. for dxf in/out, and all the helpers.

we really need to add some diagrams to the docs also, how the iterators work.

--- end body ---
