add image_ids to response json, ref #27