Takes a Rim and returns the document.
The rim to check
The hirpc used
The dart
Result Document with branches and or records.
See Implementation
Takes a Rim and returns the document.