allow an api doco show page to display a tree structure of the json version of the active record