Remove extra 'end' from redis output