code: def build_related_articles(related_articles):
      
      article_list = []
  
      for related_article in related_articles:
          article = ea.RelatedArticle()
          if related_article.get('xlink_href'):
              article.xlink_href = related_article.get('xlink_href')
          if related_article.get('related_article_type'):
              article.related_article_type = related_article.get('related_article_type')
          if related_article.get('ext_link_type'):
              article.ext_link_type = related_article.get('ext_link_type')
  
          # Append it to our list
          article_list.append(article)
  
      return article_list
docs: Given parsed data build a list of related article objects