We can now whitelist attributes and don't need to write the input stream to the output. See: https://github.com/serde-rs/serde/issues/614