Added safeguard if the extraction+cleanup returns an element that is in the negative_keywords list. Also moved the transformation of element content to string to its own method (artex.element_content_to_string(..))