CLOUDIFY-2239 compare agents by uid and by objects