image inspect: send back json data

Currently it sends nothing back.