extend erlang internal format as tuple