def merge(object)
      object = case object
      when JOSE::Map, Hash
        object
      when String
        JOSE.decode(object)
      when JOSE::JWT
        object.to_map
      else
        raise ArgumentError, "'object' must be a Hash, String, or JOSE::JWT"
      end
      return JOSE::JWT.from_map(self.to_map.merge(object))
    end
def merge(object)
      object = case object
      when JOSE::Map, Hash
        object
      when String
        JOSE.decode(object)
      when JOSE::JWT
        object.to_map
      else
        raise ArgumentError, "'object' must be a Hash, String, or JOSE::JWT"
      end
      return JOSE::JWT.from_map(self.to_map.merge(object))
    end
Merges object into current map.
 @param [JOSE::Map, Hash, String, JOSE::JWT] object
 @return [JOSE::JWT]