returnObjectTrees should not return empty object for number