added chapter and doc_element metadata