code: private String encode(Object element) {
      return BaseEncoding.base16().encode(elementSerializer.encode(element));
    }
docs: Encodes the given element to a string for internal storage.
  
  @param element the element to encode
  @return the encoded element