Simple JSON encoding class for Elixir lists