In my default forum the to_doc() function returns this:
{type="board", id=1, name="My Board", next_forum_id=2, depth=1, tree="{{id=1, is_forum=true, name=\"My Forum\"}}"}
The "tree" value is quoted. That quote is not needed, right? Any easy way to remove it? If not, I will have to do some parsing when I convert it to json.