Allow for the dict lookup to get the intire sub-JSON
This is currently not supported: https://gitlab.lrz.de/search?utf8=%E2%9C%93&search=lid%2C+the+selection+of+a+j&group_id=&project_id=21896&search_code=true&repository_ref=master#L155
The implementation is not very easy and probably requires some time. However, this functionality is useful.
When implementing:
-
add tests (the dictionary lookup and manipulation is essential! -
Note the flag check_final_leaf
(if true, then this raises an error)