Add a way to get the parsed document

Export the object API