Enables a block to be passed to vcloud_director api calls