add support in neasted objects (not arrays)