code: def fetch_json_by_name(name):
      
      result = fetch_meta_by_name(name)
      if result.href:
          result = fetch_json_by_href(result.href)
      return result
docs: Fetch json based on the element name
      First gets the href based on a search by name, then makes a
      second query to obtain the element json
  
      :method: GET
      :param str name: element name
      :return: :py:class:`smc.api.web.SMCResult`