Remove empty elements/attributes