http: Add missing json import.

So, we probably need some unit tests for the http server.