patch to handle root-less objects, contributed by Blake Johnson
patch to handle root-less objects, contributed by Blake Johnson

git-svn-id: 0dfcd2cbfde11cd338b51061f2a1a040b934da89@341 786e58fb-9377-0410-9ff7-e4ac0ac0635c

fangq/jsonlab,fangq/jsonlab