Cleaning documentation up and encode Erlang::String as a list if bytesize is larger than 1 << 16.