Convert from Writer to Either monad