Returns the root of the currently constructed tree.
if the build is incomplete (ie: if there are any opened objects, or any open object members and array elements) then this function will return `NULL`.
| this |
a builder |
|
the root node |