recursive un/wrapAll functions for objects