Lists of key-value pairs (decoded JSON) in Erlang