title: Elixir map to proper(unescaped) json
body: <p>How to conver elixir map to normal JSON that I can use in instagram/slack urls?</p>
  
  <p>Doing <code>Poison.encode!(map)</code> converts it to something like <code>"{\"key\":3}"</code> which gets rejected by api endpoints. Using <code>IO.puts</code> fixes the issue but I can't assign result of that to variable (it returns :ok).</p>
  
  <p>So how do I conver elixir map to proper <code>{"key": "value"}</code> string that I can use in urls? like this:</p>
  
  <p><code>url = "http://example.com/...&amp;variables=#{convertedMap}"</code></p>