add support for skipping unknown nested elements