scripts/oem/ami: output AMI list in JSON format

fixed