Encodes maps into object

Just added an implementation to encode maps

```elixir
> {:ok, "{\"a\":1,\"b\":2}"} = JSON.encode(%{a: 1, b: 2})
```
Jerome