add iteritems so that list of vms became dict (not array)