Fixed image preview icon, which was not showing correctly

Image preview icon was always expecting a JSON, which is no longer the case anymore. Since we are properly saving JSON into storage, we should be getting back a valid javascript object