Add option serialization and comparison

I don't understand why you wouldn't do it consistently with elsewhere - otherwise it means this will be printed unnecessarily on `test -v`.