Elixir to JSON parser working