render complex types w/o children as self-closing

fixes #477