A key-value data structure for Erlang