Can you change the type for `format` to `SerializationOption`