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

I would leave a line break prior to the `which ...` just to separate the goo for silencing a warning from the actual command.