Update object_apply_service_to_host.conf.erb

Added routine for cases where the value of a vars variable is a hash.