fixed infinite loop error in image lookup, updated rest json to latest v1beta15 rev