Add erlang map support