Fixes object type issue, response is not an string