yeah, I think I meant that we look at the content type to know if we return an image or json