Remove the duplicate GetImageJSON function