Elixir: Lex map and structs