output image cluster in JSON format