code: def detect_nexson_version(blob):
      
      n = get_nexml_el(blob)
      assert isinstance(n, dict)
      return n.get('@nexml2json', BADGER_FISH_NEXSON_VERSION)
docs: Returns the nexml2json attribute or the default code for badgerfish