Fixed image type json format issue, fix installer as well