Enables serde
"serde" is both here and in [dependencies] to ensure it is included during testing, but optional otherwise.
[dependencies]