don't try to decode json if there isn't any json