Interact with the Docker web api in Haskell