Test get json string of images