Return encoded boolean not string