[BUG] Only decodes data if its a JSON data