Added ability to specify a map as the body of the request

Just found this very useful for a number of tests, perhaps others will to.